home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-04-26 | 1.5 KB | 45 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Appearance\Desktop\Icons\'My Network Places' Options"
- "NAME"="Windows XP Workgroup Crawling"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Show computers near to me in My Network Places"
- "DESCRIPTION 1"="Specifies whether or not Windows XP will show computers that are not part of your workgroup in My Network Places."
- "DESCRIPTION 2"="Default is checked. If you uncheck this, computers that are not part of your workgroup will not be displayed in My Network Places."
- "COMMENT 1"="Found during "reconnaissance mission" of Windows XP registry."
- "VERSION"="1.03"
- "AUTHOR"="CptSiskoX on behalf of Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "CONTACTURL"="http://www.lockergnome.com/"
- "OSVERSION"="000001"
-
- 'Declaration of some constants
- sP="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NetworkCrawler\Objects\WorkgroupCrawler\WorkgroupOnly"
-
- 'Called when the Plugin is started
- SUB Plugin_Initialize
- s=RegReadValue(sP)
- if s=0 OR IsEmpty(s) then
- Call SetUIElement(1,true)
- end if
- END SUB
-
- 'Called when the Plugin should validate the Data the user has entered
- SUB Plugin_CheckData(ElementIndex)
- END SUB
-
- 'Called when the Plugin should apply the changes
- SUB Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
- if s=true then
- Call RegWriteValue(sP,0,2)
- else
- Call RegWriteValue(sP,1,2)
- end if
- END SUB
-
- 'Called when the Plugin is about to be removed from memory
- SUB Plugin_Terminate
- END SUB
-